function J = normalize(I)
    J = I-min(I(:));
    J = J/max(J(:));
end